<template>
	<view>
		<view class="page">
		    <comp-common v-bind="{data:data}" @getUserInfo="getUserInfo" @myLogin="myLogin" @getPhoneNumber="getPhoneNumber" @hideGetCoupon="hideGetCoupon" @closeCouponBox="closeCouponBox" @navigatorClick="navigatorClick"></comp-common>
			<comp-header v-bind="{data:data}" @relevanceError="relevanceError" @relevanceSuccess="relevanceSuccess"></comp-header>
		    <view class="body after-navber">
		        <view class="rule">
		            <text>{{data.rule}}</text>
		        </view>
		    </view>
		    
		</view>
		
	</view>
</template>

<script>var myVue = {};
	export default {
		data() {
			return {
				data:{
					
				}
			};
		},
		 onLoad: function(t) {myVue = this;
		    myVue.getApp.page.onLoad(this, t);
		    var e = this;
		    e.getApp.request({
		        url: e.getApp.api.scratch.setting,
		        success: function(t) {
		            0 == t.code && e.setData({
		                rule: t.data.setting.rule
		            });
		        }
		    });
		}
	}
</script>

<style scoped>
.rule {
    padding: 30upx;
}
</style>
